//
//  CircleImage.swift
//  swiftuitest
//
//  Created by 温哲 on 2021/2/10.
//

import SwiftUI

struct CircleImage: View {
    var image:Image
    
    var body: some View {
        
        image.frame(height: nil).clipShape(Circle()).overlay(Circle().stroke(Color.gray,lineWidth: 10)).shadow(radius: 10 )
            
        
    }
}

struct CircleImage_Previews: PreviewProvider {
    static var previews: some View {
        CircleImage(image:Image("turtlerock"))
    }
}
